SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10703ff057d3926218d76266b52e1d70d05a4425b95cf964ea00bfd81fcc8843' 
  AND token = 'gk4bwuN1oFP54AsiHJHpv2gGTreI9DUgswRkq0N+48w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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