SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '321eaa18de74a863ee252ffc56daf4dcf3dcbc82924ca66c34c4061f210412d4' 
  AND token = 'hTEAjSy9T2pjBg0DlueoTCN31iawjxc/z05symoBm8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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