SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '11a2675a19a1f22585a9ceece57721436a6e4571ebbb88c462babd36549b8311' 
  AND token = 'XXDAQjKvI0qjJEcJP1v7Q+Y8HP1AD+AlDWY6PyZIXvE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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