SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87e8833ec747e895c15406b0054db5fe32af9c42f259800ebdb6ec1bb873003b' 
  AND token = 'ewHrl1qTsJwglLX/rAoDo7h13fcNoZP0S8uDjbl5ko8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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