SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5516c6ecf8e3ecf27d3aca3c0ca59e110215245f2ff3c7d3ac2954ef5032d9d5' 
  AND token = 'vbENFTjwUScd4I1hxX79Cv4iZYhod689C++dtupoidU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}