SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a79c172969716136585395ddf5274d5557286be53aefbe497cd4eaa9c55d400' 
  AND token = '8J6sYXZA2mKt0ncl9Wkd9yAGqsjfrDMPH/ovX1ny/3c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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