SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c00ff7f1acb390c8b855bcc9345b5cfc9bcacfe21e5834961328bccd74d89c63' 
  AND token = 'RL6NoCu8rBvYe2jM0tXcSAqMnXAnpfx32R6SXs5Urm4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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