SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'beec22274a8f3e997c52b9db6ef4c9611849b144e4417c3275bbc86e79b6782e' 
  AND token = 'XbC8XQvgQf8m1/Q4oAngmSHBLm+Xpdlp4rbskEUFqdE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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