SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c79f6edd601d36f5031a5e712ddc6ae970078ffd1a66d5392ff420245f11bea1' 
  AND token = 't8THPEVOcaevT09QjxAG1lkstlD3Pq3bECrF/pKq5io=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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