SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed28c474dfefbaa1873964c32f17c8be0bcf446497ec4f512d3e2f57712a56f0' 
  AND token = 'qf0GPhNu3HJX7OSvrfdMm4oOLqgY/bpbbe7IliGBjsE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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