SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'da549b3b55eabec4f70b6d440bd14684ff4117ae8aa3012140864b0ed5575f54' 
  AND token = 'Nsj3YhgpXgi3FJL7UVd7sIoASfaYapif/07vJ155NGo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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