SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2704bc87435e987d7eecbd6fca0073addc1a0328130e9c22e6f6a6d84c6b439a' 
  AND token = 'Q0Yq3H4SwphEP11Vwv6bxbIp2DtrGHq7AjRf9atNaI0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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