SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd66513c6cb4524f5905662084ea1b933caf166501bdd6a5cc5cfd183982a9166' 
  AND token = 'uq7YZXZ0S4kPNPfIiX+5Bb3JaV9JTml0/UpP/JKAxn4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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