SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39f9c80a7fbfc94fb8be3e80f9d04f3be93a6c19319637b716166ef13a67d57c' 
  AND token = 'JqJAdzx2BmtAzY0VbbsRee539dlA9I/7g+bP8mJcjAA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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