SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '865f8ad38c0ade362394e194a70721ee844f831724570eb9392613383d7ba6c2' 
  AND token = 'Zp1YGrggRecf7XhN9oJLI0JdAwyURMzZV+a503sBIqw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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