SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18d4034d16b961de55636e469bea3d503746128941844f20ec0829593c60be43' 
  AND token = '3jm4tsS5pkaOxuyfRbp90cK8taigVogS/yPTZlOqLTI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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