SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6f6a415413a6d1aeecc3c3852d6c55b40279de5c98250faa80d2f220a72a4e1' 
  AND token = 'g4h1o3Jg8NtVcs2/dRsOwnBFx8YQ2/XRhgbHNGca53k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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