SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '172f58ad7a7ff012d8b5037eff2b000938b691f8d0cafc43586ea87a126713ec' 
  AND token = 'lNc8fZKfCaPjFpuz8Jt0qAkxoj5Had0vCFkUswHQf6M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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