SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4302a793768f564e58d592ad4301c290a2305a6228066e9ae7abba462f7f038f' 
  AND token = '27FjaUhYoc1Iu9RviU4bC4quriFtzG+hTBX65PTifSQ=' 
  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"
    }
  }
}