SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34081c4744e766c6864fa3e0239cca40757f9d836bdc0f55eabb040d76eb1303' 
  AND token = 'Gleb3re+VYAMiHuRyny9SMuwT8XqvPUJGtcEjJkkGm8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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