SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '698f78882870f2d4b51ad194b68450c364b5aa45c47fbf39534ec12337fea7b1' 
  AND token = 'pL2KPM+srDjp288bwONkGvjPKiwUR2496ku6Ovaeekw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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