SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '770a8fe0bee68fc2f84454ac7c1d7e6efaf017e3678c649084264923ef4be327' 
  AND token = 'lSb4JBxhqxH44utDsW9sNOgc+UMl6794RX6NS9fv52g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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