SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '798cf831ece141f1f164944d8b30522c646ac7c4c4f6903fcc18c04dad23d531' 
  AND token = 'gGyptnZZ6cTAmzk68H2ik1xESq9D5XizfiyoHnIHpzo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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