SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3f5bd7770018606ea74b0e0a4752d3c01febc240ecb453b3a31f56df5fb85064' 
  AND token = 'gww1ZiIwbAqJdCIStvdfUMphkDM/E397lB0MCWUrTS8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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