SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '65c4bc47f4ccff1edf7e804fde0754a0b877864f50d48d6046285329a2c0a3da' 
  AND token = 'YtJoAq4SBEtDLv0071mHkRH6J65G8OAZzXULG8KkXck=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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