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

Query time 0.00031

JSON explain

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