SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '71ed5c0ab15faaf2138f8f92c49dc22d74afe6f0d761c7ac516b6216eeaeea1a' 
  AND token = 'doVpwjDfagXBMox1Af+Hre8zyRR2lgrlKLHVZ8XoQjc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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