SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '501090578830b0c9c7a022ebd5e099bfe337b6340ccf4113574a317a570aa7dd' 
  AND token = 'GEUGVkt45nZloHcFrpB/wrIEmMAjEo19MHLMJHEZsp8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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