SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8223ee4a19e81aa731dcb230250343ce9f8464fea95336d907f4124fdd94794' 
  AND token = 'g+zyVWiP91OEEFm7SbH/U29e+K0Mt6/Fh8E/1h2kXog=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}