SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28542cd8b4d937ec724d6f419039bb382504d32e5876057cb58249de221d2173' 
  AND token = 'lFt6mY2vCvWlJym1ZxaXou+wvb/OuJyySn8Inuk0kfA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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