SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3287ef03e17946f61f066ffee27275e0facbb471ace3d05ab914aafc35d572c7' 
  AND token = 'yxI7bKs81gyX3gegxbG6fLdx8E40K0r0say+TTTpY1c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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