SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78185a0e220a98ca22b74192d6adb4c739a84e58105ee126cce5ab1100bb821c' 
  AND token = '3xdDxnLhkKPUlsY17neBUIV2qwcH/dGLfY07TUUsWsc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00129

JSON explain

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