SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '89d458dc111823b1117050d28840f178a9002630861d65a69581542b85d38189' 
  AND token = '4e1/cKX7xJhjK0rusFfPrK37ZGlrhfuhb2+rIgyX0W4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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