SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4e30dad27ba81076ecbc1faafb804a9ad5698a1344d1f53bd4257387a078efb' 
  AND token = '1Nf638m1RZnRjjqNS9y4ySReZbtkeprLCceSqg2VUl4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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